package net.huashitong.ssydt.pk.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import net.huashitong.ssydt.user.entity.vo.SimpleUserVO;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.12.20
 */
public class RankingVO implements Serializable {

    private static final long serialVersionUID = 2072323101513879682L;

    @ApiModelProperty(value = "id")
    private Long id;//

    @ApiModelProperty(value = "用户信息")
    private SimpleUserVO user;
    @ApiModelProperty(value = "排名")
    private int ranking;//排名
    @ApiModelProperty(value = "得分")
    private BigDecimal score;//得分

    public SimpleUserVO getUser() {
        return user;
    }

    public void setUser(SimpleUserVO user) {
        this.user = user;
    }

    public int getRanking() {
        return ranking;
    }

    public void setRanking(int ranking) {
        this.ranking = ranking;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
